<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./css/main.css">
    <link rel="stylesheet" href="./css/style.css">
    <link rel="stylesheet" href="./css/style2.css">
    <link rel="stylesheet" href="./css/animate.css">
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="./css/bootstrap.css">
    <link rel="stylesheet" href="./css/normalize.css">
    <title>index</title>
</head>
<body style="background-color: #252c35">
<!--------------------start 加载------------->
<div id="loading">
    <div></div>
    <div></div>
    <span></span>
</div>
<!--------------------start 界面-------------->
<div id="wrapper" class="wrapShow">
    <nav class="navbar navbar-default ">
        <div class="col-lg-5 col-md-5">
            <div class="row">
                <a href="" class="col-lg-6 col-md-6 brand">
                    <div class="logo clearfix">
                        <i class="icofont-shopify"></i>
                        <span>home</span>
                        <h1><b>SHOP</b></h1>
                    </div>
                </a>
                <div class="navbar-btn col-lg-6 col-md-6">
                    <button class="btn-toggle-fullwidth btn-toggle-mx"><img src="./img/left.png" alt=""> </button>
                </div>
            </div>
        </div>
        <div class="col-lg-7 col-md-7 text-right">
            <ul class="nav-right">
                <li>
                    日期: <em>
                    <script type="text/javascript">
                        var data = new Date();
                        var year = data.getFullYear();
                        var month = data.getMonth()+1;
                        var day = data.getDate();
                        document.write(year+"年"+month+"月"+day+"日");//写到页面上
                    </script>
                </em>
                </li>
                <li>登录成功</li>
                <li>欢迎您: <em>
                    <?= $_COOKIE['username'] ?>
                    <!-- 获取user 里面的 username一条数据-->
                </em></li>
                <li><a onclick="exitWin()">退出系统</a></li>
            </ul>
        </div>
    </nav>
    <!--sidebar-nav-->
    <div id="sidebar-nav" class="sidebar">
        <div class="sidebar-scroll">
            <nav>
                <ul class="nav">
                    <li><a href="./right.php?a=<?=$proUrl?>" target="rightframe" class="iframe_link active"><span>商品管理</span></a></li>
                    <li><a href="./right.php?a=<?=$ordUrl?>" target="rightframe" class="iframe_link"><span>订单管理</span></a></li>
                    <li>
                        <a href="javascript:;" class="nav-togg"> <span> 个人信息管理</span> </a>
                        <div>
                            <ul>
                                <li><a href="./right.php?a=<?=editPwd?>" target="rightframe" class="iframe_link"><span>修改密码</span></a></li>

                            </ul>
                        </div>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
    <div class="main">
        <div class="main-content" style="height: 100%;">
            <iframe src="./right.php" name="rightframe" class="iframe_mx uicss-cn"></iframe>
        </div>
    </div>
</div>

<script type="text/javascript" src="./js/bootstrap.bundle.js"></script>
<script type="text/javascript" src="./js/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="./js/style.js"></script>
<script type="text/javascript" src="./js/check.js"></script>
</body>
</html>

